#include "Utils.h"

namespace uav
{
namespace test
{

// Computes the procentage of correct tests.
//
int
correct(int tests, int errors)
{
	if ((errors == 0) || (tests == 0))
		return 100;

	return (tests - errors) * 100 / tests;
}

}}
